package cn.com.dragonsoftbravo.utils.azure.factory;

import com.microsoft.azure.storage.table.CloudTable;
import com.microsoft.azure.storage.table.CloudTableClient;

public class BlobTableFactory {

	public static CloudTable getTable(String tableName) throws Exception {
		CloudTableClient client = BlobClientFactory.getTableClient();
		CloudTable table = client.getTableReference(tableName);
		table.createIfNotExists();
		return table;
	}

}
